package top.yudoge.dogeeditor.llm.agent

import top.yudoge.dogeeditor.llm.objects.query.RewriteQuery

/**
 * This interface is deprecated, use SQLRewriter instead
 *
 * Initially we wanted to build the SQL rewrite functionality through a single-agent architecture, but we soon realized
 * that we were giving all the control to the language model. We could only influence the behavior of the language model
 * through the tool interface. This took away a lot of flexibility.
 *
 * So we introduced the SQLRewriter. For more information
 * @see top.yudoge.dogeeditor.llm.rewrite.SQLRewriter
 */
@Deprecated("Use SQLRewriter instead")
interface RewriteAgent {

    fun rewrite(query: RewriteQuery, callback: RewriteCallback)

}